<?php
/**
 * 小邮筒订单
 */
namespace soa\minpost\order\v1\get;

use soa\client;

class order  extends client
{
	/**
	 * 服务地址
	 * @var string
	 */
	public $service_url = 'http://mp.kuaidihelp.com/';

	/**
	 * 服务名称
	 * @var string
	 */
	protected $service_name = 'kuaidihelp_mp';

	//获取订单信息
	public function info($orderId){
		return $this->post("api/cloudPrint/order/v1/get/order/info",compact('orderId'));
	}

	//获取订单用户信息
	public function user($orderId){
		return $this->post("api/cloudPrint/order/v1/get/order/user",compact('orderId'));
	}

	//获取订单打印机信息
	public function agent($orderId){
		return $this->post("api/cloudPrint/order/v1/get/order/agent",compact('orderId'));
	}
}